package com.dongdongshop.service;

import com.dongdongshop.model.TbContent;
import com.dongdongshop.vo.ContentVO;

import java.util.List;

public interface ContentService {
    List<ContentVO> getAll();

    void addContent(ContentVO vo);

    ContentVO toUpdate(Long id);

    void updateContent(ContentVO vo);

    int deleteBatch(Long[] ids);


    List<TbContent> selectByIdLunBo(Long categoryId);

    List<TbContent> selectByIdNew(Long categoryId);

    List<TbContent> selectByIdLove(Long categoryId);
}
